package org.example.service;

import org.example.config.R;
import org.example.domain.Post;

import java.util.List;

public interface PostService {
    List<Post> postList(Post post);

    R save(Post post);

    R delById(Integer id);

    R updateById(Post post);

    List<Post> list();
}
